<div id="content_header">
  <h3>{{ currentCurrency.CourseName }} Editing</h3>
</div>

<div class="row">
  <div class="col-md-6 col-lg-4">
    <form name="courseTypeForm" role="form" ng-submit="updateCurrency()">

      <div class="form-group">
        <label for="Code">
          Currency Code
        </label>
        <span class="error" ng-show="currencyTypeForm.Code.$error.required">Required!</span>
        <input type="text" name="Code" class="form-control" id="Code" placeholder="Input field" ng-model="currentCurrency.Code" required>
      </div>

      <div class="form-group">
        <label for="CurrencyName">
          Currency Name
        </label>
        <span class="error" ng-show="currencyTypeForm.CurrencyName.$error.required">Required!</span>
        <input type="text" name="CurrencyName" class="form-control" id="CurrencyName" placeholder="Input field" ng-model="currentCurrency.CurrencyName" required>
      </div>

      <!-- <div class="form-group">
        <label for="RupiahRate">
          Rupiah Rate
        </label>
        <span class="error" ng-show="currencyTypeForm.RupiahRate.$error.required">Required!</span>
        <input type="number" name="RupiahRate" class="form-control" id="RupiahRate" placeholder="Input field" ng-model="currentCurrency.RupiahRate" min="10000" max="10000000000000" step="1000" required>
        <small>{{ currentCurrency.RupiahRate | currency:'Rp ' }}</small>
      </div> -->

      <button type="submit" class="btn btn-primary" >Submit</button>
    </form>
  </div>
</div>